
package com.afd.ozblip.app;

import android.location.Location;

import com.afd.ozblip.entity.UserEntity;

import java.util.HashMap;
import java.util.List;

public class CommonInfo {

    /****************** 全局变量 **************************/
    // 应用当前语言环境
    public static String commonLanguage = "1";
    // 是否登录
    public static boolean isLogin = false;
    // 当前城市商户最贵价格
    public static String maxPrice = "1000";
    // 用户信息
    public static UserEntity commonUserInfo = null;
    // 当前定位信息
    public static Location commonLocation = null;
    // 当前商区列表
    public static List<HashMap<String, Object>> areaList = null;
    // 当前选择城市名称
    public static String commonNowCityName = "重庆";
    // 当前定位城市名称
    public static String commonLocationCityName = "重庆";
    // 用于照相数据
    public static byte[] commonContent = null;

    public static boolean commonIsNowCity() {
        if (!commonLocationCityName.contains(commonNowCityName)) {
            return false;
        }
        return true;
    }

}
